package com.mop.app.dal.query;

import java.util.Date;

/**
 * bug反馈记录查询对象
 *
 * @author wchen
 * @since 2020-02-27
 */
public class AppBugQuery {

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 意见描述
     */
    private String description;

    /**
     * 图片
     */
    private String pic;

    /**
     * 创建时间
     */
    private Date gmtCreateBegin;

    private Date gmtCreateEnd;

    /**
     * 修改时间
     */
    private Date gmtModifiedBegin;

    private Date gmtModifiedEnd;

    public Long getUserId() {
        return userId;
    }

    public AppBugQuery setUserId(Long userId) {
        this.userId = userId;
        return this;
    }

    public String getDescription() {
        return description;
    }

    public AppBugQuery setDescription(String description) {
        this.description = description;
        return this;
    }

    public String getPic() {
        return pic;
    }

    public AppBugQuery setPic(String pic) {
        this.pic = pic;
        return this;
    }

    public Date getGmtCreateBegin() {
        return gmtCreateBegin;
    }

    public AppBugQuery setGmtCreateBegin(Date gmtCreateBegin) {
        this.gmtCreateBegin = gmtCreateBegin;
        return this;
    }

    public Date getGmtCreateEnd() {
        return gmtCreateEnd;
    }

    public AppBugQuery setGmtCreateEnd(Date gmtCreateEnd) {
        this.gmtCreateEnd = gmtCreateEnd;
        return this;
    }


    public Date getGmtModifiedBegin() {
        return gmtModifiedBegin;
    }

    public AppBugQuery setGmtModifiedBegin(Date gmtModifiedBegin) {
        this.gmtModifiedBegin = gmtModifiedBegin;
        return this;
    }

    public Date getGmtModifiedEnd() {
        return gmtModifiedEnd;
    }

    public AppBugQuery setGmtModifiedEnd(Date gmtModifiedEnd) {
        this.gmtModifiedEnd = gmtModifiedEnd;
        return this;
    }



    @Override
    public String toString() {
        return "AppBug{" +
        "userId=" + userId +
        ", description=" + description +
        ", pic=" + pic +
        ", gmtCreateBegin=" + gmtCreateBegin +
        ", gmtCreateEnd=" + gmtCreateEnd +
        ", gmtModifiedBegin=" + gmtModifiedBegin +
        ", gmtModifiedEnd=" + gmtModifiedEnd +
        "}";
    }
}
